package sch.frog.behavioral.visitor;

public class VisitorA implements IVisitor {
    @Override
    public void visit(ConcreteElementA element) {
        System.out.println("visitor A do something for elementA" + element.toString());
    }

    @Override
    public void visit(ConcreteElementB element) {
        System.out.println("visitor A do something for elementB" + element.toString());
    }
}
